package edu.yctc.manage.dao;

import edu.yctc.manage.entity.SdeptDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import edu.yctc.manage.utils.PageQuery;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 
 * 
 * @author zyj
 * @email 1527215026@qq.com
 * @date 2021-03-29 14:02:07
 */
@Mapper
public interface SdeptDAO extends BaseMapper<SdeptDO> {

    int insert(SdeptDO sdeptDO);

    List<SdeptDO> getAll();

    SdeptDO getSdeptDOByName(String name);

    int getTotal();

    int update(SdeptDO sdeptDO);

    List<SdeptDO> selectList(PageQuery pageQuery);
}
